#include<iostream>
#include<opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main()
{

    VideoCapture cap;
    while(1)
    {
         
	  Mat image;
	  cap.open(0);
	  cap.read(image);
	  imshow("camera",image);
	  waitKey(20);
    }
     return 0;
}
